<?php
/**
 * db.php                   从数据库配置信息
 * 
 * @author                  mashanling(msl-138@163.com)
 * @date                    2012-03-26 12:19:29
 * @last modify             2012-03-26 12:19:29 by mashanling
 */

!defined('ROOT') && exit('Access Denied');

return array(
    'DB_TYPE'               => 'mysql',      //数据库类型
    'DB_HOST'               => DB_HOST,      //服务器地址
    'DB_NAME'               => DB_NAME,      //数据库名
    'DB_USER'               => DB_USER,      //用户名
    'DB_PWD'                => DB_PWD,       //密码
    'DB_PORT'               => DB_PORT,      //端口
    'DB_PREFIX'             => DB_PREFIX,    //表前缀

    'DB_SLAVE' => array(
        'db_type'               => 'mysql',      //数据库类型
        'db_host'               => DB_HOST,      //服务器地址
        'db_name'               => 'db_everbuying',      //数据库名
        'db_user'               => DB_USER,      //用户名
        'db_pwd'                => DB_PWD,       //密码
        'db_port'               => DB_PORT,      //端口
        'db_dsn'                => '',
        'db_params'             => '',
    )
);
?>